<?php

namespace app\api\model;

use think\Model;
use think\model\relation\BelongsTo;

class ProductImage extends BaseModel
{
    protected $hidden = ['img_id','product_id','delete_time'];
    public function imgUrl()
    {
        return $this->BelongsTo('Image', 'img_id', 'id');
    }
}
